% latex table generated in R 4.4.0 by xtable 1.8-4 package
% Thu Apr 10 09:23:04 2025
\begin{table}[ht]
\centering
\begin{tabular}{rrrrrrr}
  \hline
 & Clinton '16 & Sanders '16 & Warren '20 & Sanders '20 & Bloomberg '20 & Biden '20 \\ 
  \hline
Clinton '08 & 0.108 & -0.117 & \cellcolor{gray!30}-0.337 & \cellcolor{gray!80}0.221 & 0.025 & -0.084 \\ 
  Obama '08 & -0.063 & 0.078 & \cellcolor{gray!80}0.355 & -0.182 & -0.038 & 0.119 \\ 
  Clinton '16 & 1.000 & \cellcolor{gray!60}-0.975 & -0.092 & \cellcolor{gray!30}-0.388 & \cellcolor{gray!80}0.287 & \cellcolor{gray!80}0.370 \\ 
  Sanders '16 & \cellcolor{gray!60}-0.975 & 1.000 & 0.111 & \cellcolor{gray!80}0.388 & \cellcolor{gray!30}-0.293 & \cellcolor{gray!30}-0.365 \\ 
  Warren '20 & -0.092 & 0.111 & 1.000 & \cellcolor{gray!30}-0.247 & -0.154 & -0.185 \\ 
  Sanders '20 & \cellcolor{gray!30}-0.388 & \cellcolor{gray!80}0.388 & \cellcolor{gray!30}-0.247 & 1.000 & \cellcolor{gray!60}-0.410 & \cellcolor{gray!60}-0.556 \\ 
  Bloomberg '20 & \cellcolor{gray!80}0.287 & \cellcolor{gray!30}-0.293 & -0.154 & \cellcolor{gray!60}-0.410 & 1.000 & -0.053 \\ 
  Biden '20 & \cellcolor{gray!80}0.370 & \cellcolor{gray!30}-0.365 & -0.185 & \cellcolor{gray!60}-0.556 & -0.053 & 1.000 \\ 
   \hline
\end{tabular}
\caption{Correlations of vote shares in Democratic primaries from all California precincts (n=5705-26210).} 
\label{t:ca:dems}
\end{table}
